package cn.jiyun.service;

import cn.jiyun.common.R;
import cn.jiyun.pojo.Category;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface CategorySerivce {


    R page(Page<Category> page1);

    R add(Category category);

    R update(Category category);

    R delete(Long id);

    List<Category> findAll();

    List<Category> list();
}
